package com.migu.rbac.vo;

/**
 * @Description TODO :
 * @Author: zj
 * @Date: 13:40 2019/4/19
 * @Version 1.0
 **/

public class PageVo<T> {
    private T t;

    private Integer pageNum;

    private Integer pageSize;

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public Integer getPageNum() {
        this.pageNum = (pageNum - 1) * pageSize;
        return pageNum;
    }


    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
